package com.example.chatchatbackend.utils;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

public enum TimeUtil {
    Time_Now;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public LocalDateTime getCurrentTime() {
        return LocalDateTime.now();
    }
}